<?xml version="1.0" encoding="UTF-8"?>
<openerp>
	<data>
		<record id="product_search_form_max_view" model="ir.ui.view">
			<field name="name">product.search.form.max</field>
			<field name="model">product.product</field>
			<field name="inherit_id" ref="product.product_search_form_view"/>
			<field name="arch" type="xml">
				<filter string='Category' position="replace">
					<filter string='Brand' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'brand_id'}"/>
						<separator orientation="vertical"/>
				</filter>
				<field name='categ_id' position="replace">
					<field name="brand_id"/>
				</field>
				<filter string='Default UOM' position="replace"/>
				<filter string='Type' position="replace"/>
				<filter string='Services' position="replace"/>
				<filter string='Products' position="replace"/>
			</field>
		</record>


		<record id="product_product_tree_max_view" model="ir.ui.view">
			<field name="name">product.product.tree.max</field>
			<field name="model">product.product</field>
			<field name="inherit_id" ref="product.product_product_tree_view"/>
			<field name="arch" type="xml">
				<field name="qty_available" position="replace"/>
				<field name="default_code" position="replace"/>
				<field name="name" position="after">
					<!--field name="default_code"/-->
					<field name="brand_id" string="brand"/>
					<!--field name="spq" string="spq"/-->
					<field name="qty_available" string="QOH"/>
					<!--field name="qty_incoming_booked" string="Q-PO Allo"/-->
					<!--field name="qty_incoming_non_booked" string="Q-PO Un-Allo"/-->
					<!--field name="qty_booked" string="Ttl SO-Q"/-->
					<!--field name="qty_free" string="QOH Free"/-->
					<!--field name="qty_allocated" string="QOH Allo"/-->
					<field name="qty_free_balance" string="Q-Free Bal"/>
				</field>
				<field name="type" position="replace"/>
				<field name="virtual_available" position="replace">
					<field name="virtual_available" invisible="1"/>
				</field>
				<field name="lst_price" position="replace"/>
				<field name="price" position="replace"/>
				<field name="standard_price" position="replace"/>
				<field name="state" position="replace">
					<field name="state" invisible = "1"/>
				</field>
			</field>
		</record>

		<record id="product.menu_products_category" model="ir.ui.menu">
			<field name="groups_id" eval="[(6,0,[ref('so_workflowchange.group_non_user')])]"/>
		</record>

	</data>
</openerp>